#ifndef DEVCOMMON_GLOBAL_H
#define DEVCOMMON_GLOBAL_H

#include <QtCore/qglobal.h>

#if defined(DEVCOMMON_LIBRARY)
#  define DEVCOMMONSHARED_EXPORT Q_DECL_EXPORT
#else
#  define DEVCOMMONSHARED_EXPORT Q_DECL_IMPORT
#endif

#ifndef Q_DC
#define Q_DC(Class) const Class##Private * const d = d_func()
#define Q_QC(Class) const Class * const q = q_func()
#endif
#ifndef D_DC
#define D_DC(Class) const Class##Private * const d = d_func()
#define D_QC(Class) const Class * const q = q_func()
#endif
#ifndef D_D
#define D_D(Class) Class##Private * const d = d_func()
#define D_Q(Class) Class * const q = q_func()
#endif

#endif // DEVCOMMON_GLOBAL_H
